package com.aaa.marketresearch.dataresource.dao;

import com.aaa.marketresearch.dataresource.domain.Goods;

import java.util.List;

/**
 * @author Nail
 */
public interface GoodsDAO {

    public List<Goods> getAll();

    public List<Goods> getWithPartNameLike(String partName);

    public Goods getById(Integer id);

    public Goods getByBarcode(Long barcode);

    public void save(Goods familyMember);

    public boolean delete(Integer id);

}
